package com.jy.rhin.model.body.yichangfanying;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

/***
 * 疑似预防接种异常反应
 */
@Data
public class JieZhongYCFY {
    //疑似预防接种异常反应的可疑疫苗名称代码
    @XPath(path = "/entry/observation/code[@code='DE08.50.018.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE08_50_018_00, nullable = true))
    CodeObject keYiYMDM;
    //疑似预防接种异常反应诊断代码
    @XPath(path = "/entry/observation/code[@code='DE05.01.052.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_01_052_00, nullable = true))
    CodeObject zhenDuanDM;
    //疑似预防接种异常反应发生日期
    @XPath(path = "/entry/observation/code[@code='DE06.00.151.00']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_151_00, nullable = true))
    String fanYingRQ;
    //疑似预防接种异常反应处理结果
    @XPath(path = "/entry/observation/code[@code='DE06.00.150.00']/../value/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_150_00, nullable = true))
    String chuLiJG;
}
